package rmiserver;

import java.rmi.Remote;
import java.rmi.RemoteException;

import messages.Message;

public interface ServerRemote extends Remote {
	
	/**
	 * Used by the client to send a message to the server.
	 * 
	 * @param message The message to be sent.
	 * @throws RemoteException
	 */
	public void send(Message message) throws RemoteException;
}
